package com.ming_za.odupdaterserver.core.controller.web;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Tag(name = "更新器ui相关API")
@Controller
public class UIAPI {

    @RequestMapping(value = "/{path:[^.]*}")
    public String ui(){
        return "forward:/index.html";
    }

}
